package musicstore.biz;

import java.util.List;

import musicstore.entity.Album;

public interface AlbumBiz {
	List<Album> getAlbumsByDateReleased();
	List<Album> getListByGenreId(int genreId,int pageNum,int pageSize);
	Album getAlbumById(int id);
	List<Album> getListByGenreIdAndTitle(String title,int genreId,int pageNum,int pageSize);
	void add(Album album);
	void update(Album album);
	List<String> getTitleByPrefix(String title,int pageSize);
}
